package com.project.yuepai.dto;

/**
 * @Author: Lai
 * @Describe: 该类定义用户的基本信息，用户id，用户名，手机号，登录密码，邮箱
 *              可将该信息存放到session，方便用户快速登录等等
 */
public class UserBaseDto {
    private String userId;
    private String userName;
    private String userPhone;
    private String loginPwd;
    private String userEmail;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    @Override
    public String toString() {
        return "UserBaseDto{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                ", userEmail='" + userEmail + '\'' +
                '}';
    }
}
